#pragma once

#include "GUIBase.h"

#include "Texture.h"

class GUIImage : public GUIBase
{
public:
	GUIImage(void);
	virtual ~GUIImage(void);

public:
	virtual BOOL LoadFromXML( XmlNode * guiNode );
	virtual void Render();
	virtual BOOL HandleEvent( UINT message, WPARAM wParam, LPARAM lParam );

public:
	void SetBasicTexture( Texture* texture )	{ m_basicTexture = texture; }
	Texture* GetBasicTexture( )	{ return m_basicTexture; }

	void SetRollOverTexture( Texture* texture )	{ m_rollOverTexture = texture; }
	Texture* GetRollOverTexture( )	{ return m_rollOverTexture; }

private:
	Texture* m_basicTexture;
	Texture* m_rollOverTexture;
};
